<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CyberLinkObjc: CGUpnpDevice Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CyberLinkObjc
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#properties">Properties</a>  </div>
  <div class="headertitle">
<div class="title">CGUpnpDevice Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#import &lt;<a class="el" href="_c_g_upnp_device_8h_source.html">CGUpnpDevice.h</a>&gt;</code></p>

<p><a href="class_c_g_upnp_device-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa0351efbdcee98c85687861faab2d372"><td class="memItemLeft" align="right" valign="top">(id)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#aa0351efbdcee98c85687861faab2d372">init</a></td></tr>
<tr class="memitem:a4f3984ff48e69ce3c113f960e8a189f6"><td class="memItemLeft" align="right" valign="top">(id)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a4f3984ff48e69ce3c113f960e8a189f6">initWithCObject:</a></td></tr>
<tr class="memitem:a0ee734df1783cd9025e7f0efcf3e133f"><td class="memItemLeft" align="right" valign="top">(id)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a0ee734df1783cd9025e7f0efcf3e133f">initWithXMLDescription:</a></td></tr>
<tr class="memitem:ac86396c6f776f9436e2b0f92dea8ea03"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#ac86396c6f776f9436e2b0f92dea8ea03">parseXMLDescription:</a></td></tr>
<tr class="memitem:ae15d569f7de9cbc9aa751d380e2fd8f1"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#ae15d569f7de9cbc9aa751d380e2fd8f1">friendlyName</a></td></tr>
<tr class="memitem:a626b42555e6122b8ec08877981a9b515"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a626b42555e6122b8ec08877981a9b515">deviceType</a></td></tr>
<tr class="memitem:ad55f10ba9d5f371835148797fcebfd36"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#ad55f10ba9d5f371835148797fcebfd36">udn</a></td></tr>
<tr class="memitem:a5f496c54e490738ac1d2aac0b1907ca8"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a5f496c54e490738ac1d2aac0b1907ca8">manufacturer</a></td></tr>
<tr class="memitem:af1bcb76a0ddf6530179f224802fdab2f"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#af1bcb76a0ddf6530179f224802fdab2f">modelNumber</a></td></tr>
<tr class="memitem:ae4b4ac9f466da8f9e7d5567a1f7ac9f2"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#ae4b4ac9f466da8f9e7d5567a1f7ac9f2">modelName</a></td></tr>
<tr class="memitem:a080173980569b451fafa717eec9fe820"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a080173980569b451fafa717eec9fe820">urlBase</a></td></tr>
<tr class="memitem:ad4f3c7440fb4d70fd945bac3f1aebda9"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#ad4f3c7440fb4d70fd945bac3f1aebda9">descriptionURL</a></td></tr>
<tr class="memitem:ad6e2f119b0959e65781c42359ca35f6c"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#ad6e2f119b0959e65781c42359ca35f6c">locationURL</a></td></tr>
<tr class="memitem:af37ea8d866eef20a842ad9851fb344e2"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#af37ea8d866eef20a842ad9851fb344e2">setDeviceType:</a></td></tr>
<tr class="memitem:a93bab5af0d18a16def3c6f28da0c0113"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a93bab5af0d18a16def3c6f28da0c0113">setFriendlyName:</a></td></tr>
<tr class="memitem:aefe84b6ec3ff5bfb66f55f77030aee25"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#aefe84b6ec3ff5bfb66f55f77030aee25">setUdn:</a></td></tr>
<tr class="memitem:a1d3676929cd328898f5cc4a0d61a28d5"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a1d3676929cd328898f5cc4a0d61a28d5">isDeviceType:</a></td></tr>
<tr class="memitem:a864f6672963128d131de7d1043e3062d"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a864f6672963128d131de7d1043e3062d">isUDN:</a></td></tr>
<tr class="memitem:a24ade9bc19cea4b1f196cbcb71a38b09"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a24ade9bc19cea4b1f196cbcb71a38b09">isFriendlyName:</a></td></tr>
<tr class="memitem:a666a4fa9ff6394de2f0d976e0d17e1b1"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a666a4fa9ff6394de2f0d976e0d17e1b1">presentationURL</a></td></tr>
<tr class="memitem:aed4255e525589b24cbb5afdafc474a0b"><td class="memItemLeft" align="right" valign="top">(NSArray *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#aed4255e525589b24cbb5afdafc474a0b">services</a></td></tr>
<tr class="memitem:a07313c7563ddfe3a542c5a549c9b04f0"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_g_upnp_service.html">CGUpnpService</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a07313c7563ddfe3a542c5a549c9b04f0">getServiceForID:</a></td></tr>
<tr class="memitem:a977d489370f0fa5178cb545ae8995310"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_g_upnp_service.html">CGUpnpService</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a977d489370f0fa5178cb545ae8995310">getServiceForType:</a></td></tr>
<tr class="memitem:aaef110b3cda7e7018bc164a250c942b3"><td class="memItemLeft" align="right" valign="top">(NSArray *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#aaef110b3cda7e7018bc164a250c942b3">icons</a></td></tr>
<tr class="memitem:a02a6aa8bc0369d945b75d1c41cc1df94"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a02a6aa8bc0369d945b75d1c41cc1df94">start</a></td></tr>
<tr class="memitem:a55b4f61f61c7cffe432c4e7ec126bf04"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a55b4f61f61c7cffe432c4e7ec126bf04">stop</a></td></tr>
<tr class="memitem:a14abb6994533e4f40b63e3c5da441ffb"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a14abb6994533e4f40b63e3c5da441ffb">isRunning</a></td></tr>
<tr class="memitem:a8f0e3b8b65be9ba67f9fb90ccd3ee447"><td class="memItemLeft" align="right" valign="top">(BOOL)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a8f0e3b8b65be9ba67f9fb90ccd3ee447">announce</a></td></tr>
<tr class="memitem:ae42f2a0fa13ff0c7997d70f2630606b2"><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#ae42f2a0fa13ff0c7997d70f2630606b2">setUserData:</a></td></tr>
<tr class="memitem:a420fd4621ae036b53494d35339261285"><td class="memItemLeft" align="right" valign="top">(void *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a420fd4621ae036b53494d35339261285">userData</a></td></tr>
<tr class="memitem:a75221973da0bd5ce9926e452e880a82d"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a75221973da0bd5ce9926e452e880a82d">ipaddress</a></td></tr>
<tr class="memitem:a150cb5a442d785934313013f0728e3b5"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_g_upnp_icon.html">CGUpnpIcon</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a150cb5a442d785934313013f0728e3b5">smallestIcon</a></td></tr>
<tr class="memitem:a12a4dc65083fe126e790d2a95a80e51f"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_g_upnp_icon.html">CGUpnpIcon</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a12a4dc65083fe126e790d2a95a80e51f">smallestIconWithMimeType:</a></td></tr>
<tr class="memitem:a0212353e65464c7549bf084a2dd7f7a8"><td class="memItemLeft" align="right" valign="top">(NSString *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_g_upnp_device.html#a0212353e65464c7549bf084a2dd7f7a8">absoluteIconUrl:</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aec91a483ed32fefce1f00872ec9222e3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec91a483ed32fefce1f00872ec9222e3"></a>
BOOL&#160;</td><td class="memItemRight" valign="bottom"><b>isCObjectCreated</b></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a5bca421cef09c2c3c5345c2f047001b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5bca421cef09c2c3c5345c2f047001b9"></a>
CgUpnpDevice *&#160;</td><td class="memItemRight" valign="bottom"><b>cObject</b></td></tr>
<tr class="memitem:ad1a85a2d4d616c87c3a6f51795b05a7a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1a85a2d4d616c87c3a6f51795b05a7a"></a>
id&lt; <a class="el" href="protocol_c_g_upnp_device_delegate-p.html">CGUpnpDeviceDelegate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>delegate</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="interface_c_g_upnp_device.html">CGUpnpDevice</a> class is a wrapper class for CgUpnpDevice of CyberLink for C. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0212353e65464c7549bf084a2dd7f7a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) absoluteIconUrl: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_g_upnp_icon.html">CGUpnpIcon</a> *)&#160;</td>
          <td class="paramname"><em>anIcon</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a absolute url of the specified icon.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">anIcon</td><td>Icon.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Absolute url of the specified icon. </dd></dl>

</div>
</div>
<a class="anchor" id="a8f0e3b8b65be9ba67f9fb90ccd3ee447"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) announce </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Announce the device.</p>
<dl class="section return"><dt>Returns:</dt><dd>YES if the device is started normally, otherwise NO. </dd></dl>

</div>
</div>
<a class="anchor" id="ad4f3c7440fb4d70fd945bac3f1aebda9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) descriptionURL </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a descrition URL</p>
<dl class="section return"><dt>Returns:</dt><dd>Descripton URL of the device. </dd></dl>

</div>
</div>
<a class="anchor" id="a626b42555e6122b8ec08877981a9b515"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) deviceType </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the device type of the device.</p>
<dl class="section return"><dt>Returns:</dt><dd>Device Type. </dd></dl>

</div>
</div>
<a class="anchor" id="ae15d569f7de9cbc9aa751d380e2fd8f1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) friendlyName </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the friendly name of the device.</p>
<dl class="section return"><dt>Returns:</dt><dd>Friendly name. </dd></dl>

</div>
</div>
<a class="anchor" id="a07313c7563ddfe3a542c5a549c9b04f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_g_upnp_service.html">CGUpnpService</a> *) getServiceForID: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>serviceId</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get a service in the device by the specified service ID.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">serviceId</td><td>A service ID string of the service.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>The <a class="el" href="interface_c_g_upnp_service.html">CGUpnpService</a> if the specified service is found; otherwise nil. </dd></dl>

</div>
</div>
<a class="anchor" id="a977d489370f0fa5178cb545ae8995310"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_g_upnp_service.html">CGUpnpService</a> *) getServiceForType: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>serviceType</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get a service in the device by the specified service type.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">serviceType</td><td>A service type string of the service.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>The <a class="el" href="interface_c_g_upnp_service.html">CGUpnpService</a> if the specified service is found; otherwise nil. </dd></dl>

</div>
</div>
<a class="anchor" id="aaef110b3cda7e7018bc164a250c942b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSArray *) icons </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get all icons in the device as a NSArray object. The array has the services as instances of CGUpnpIconIcon.</p>
<dl class="section return"><dt>Returns:</dt><dd>NSArray of <a class="el" href="interface_c_g_upnp_icon.html">CGUpnpIcon</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="aa0351efbdcee98c85687861faab2d372"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (id) init </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a new UPnP device.</p>
<dl class="section return"><dt>Returns:</dt><dd>New instance if successfull; otherwise nil. </dd></dl>

</div>
</div>
<a class="anchor" id="a4f3984ff48e69ce3c113f960e8a189f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (id) initWithCObject: </td>
          <td></td>
          <td class="paramtype">(CgUpnpDevice *)&#160;</td>
          <td class="paramname"><em>cobj</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a new UPnP device with the C instance.</p>
<dl class="section return"><dt>Returns:</dt><dd>New instance if successfull; otherwise nil. </dd></dl>

</div>
</div>
<a class="anchor" id="a0ee734df1783cd9025e7f0efcf3e133f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (id) initWithXMLDescription: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>xmlDesc</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create a new UPnP device with the XML descriptioin.</p>
<dl class="section return"><dt>Returns:</dt><dd>New instance if successfull; otherwise nil. </dd></dl>

</div>
</div>
<a class="anchor" id="a75221973da0bd5ce9926e452e880a82d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) ipaddress </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a IP address.</p>
<dl class="section return"><dt>Returns:</dt><dd>IP address of the device. </dd></dl>

</div>
</div>
<a class="anchor" id="a1d3676929cd328898f5cc4a0d61a28d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) isDeviceType: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>aType</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Check whether the device type is the specified type.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">aType</td><td>A type string of the device.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>YES if the specified type is same as the device type; otherwise NO. </dd></dl>

</div>
</div>
<a class="anchor" id="a24ade9bc19cea4b1f196cbcb71a38b09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) isFriendlyName: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>aFriendlyName</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Check whether the device's friendly name is the specified name.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">aFriendlyName</td><td>A friendly name string of the device.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>YES if the specified friendly name is same as the device' friendly name; otherwise NO. </dd></dl>

</div>
</div>
<a class="anchor" id="a14abb6994533e4f40b63e3c5da441ffb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) isRunning </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Check if the controll point is running.</p>
<dl class="section return"><dt>Returns:</dt><dd>YES if the device is started normally, otherwise NO. </dd></dl>

</div>
</div>
<a class="anchor" id="a864f6672963128d131de7d1043e3062d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) isUDN: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>aUDN</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Check whether the device's UDN is the specified UDN.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">aUDN</td><td>A UDN string of the device.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>YES if the specified UDN is same as the device' UDN; otherwise NO. </dd></dl>

</div>
</div>
<a class="anchor" id="ad6e2f119b0959e65781c42359ca35f6c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) locationURL </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a location URL</p>
<dl class="section return"><dt>Returns:</dt><dd>Location URL of the device. </dd></dl>

</div>
</div>
<a class="anchor" id="a5f496c54e490738ac1d2aac0b1907ca8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) manufacturer </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a manufacture.</p>
<dl class="section return"><dt>Returns:</dt><dd>Manufacture of the device. </dd></dl>

</div>
</div>
<a class="anchor" id="ae4b4ac9f466da8f9e7d5567a1f7ac9f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) modelName </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a model name.</p>
<dl class="section return"><dt>Returns:</dt><dd>Model name of the device. </dd></dl>

</div>
</div>
<a class="anchor" id="af1bcb76a0ddf6530179f224802fdab2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) modelNumber </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a model number.</p>
<dl class="section return"><dt>Returns:</dt><dd>Model number of the device. </dd></dl>

</div>
</div>
<a class="anchor" id="ac86396c6f776f9436e2b0f92dea8ea03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) parseXMLDescription: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>xmlDesc</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Parse the specified XML description.</p>
<dl class="section return"><dt>Returns:</dt><dd>YES if successfull; otherwise nui. </dd></dl>

</div>
</div>
<a class="anchor" id="a666a4fa9ff6394de2f0d976e0d17e1b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) presentationURL </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a presentationURL</p>
<dl class="section return"><dt>Returns:</dt><dd>presentationURL of the device. </dd></dl>

</div>
</div>
<a class="anchor" id="aed4255e525589b24cbb5afdafc474a0b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSArray *) services </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get all services in the device as a NSArray object. The array has the services as instances of <a class="el" href="interface_c_g_upnp_service.html">CGUpnpService</a>.</p>
<dl class="section return"><dt>Returns:</dt><dd>NSArray of <a class="el" href="interface_c_g_upnp_service.html">CGUpnpService</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="af37ea8d866eef20a842ad9851fb344e2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) setDeviceType: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>aType</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set a device type of the device.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">aType</td><td>Device type to set. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a93bab5af0d18a16def3c6f28da0c0113"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) setFriendlyName: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>aName</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set a friendly name of the device.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">aName</td><td>Friendly name to set. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aefe84b6ec3ff5bfb66f55f77030aee25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) setUdn: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>aUdn</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set a udn of the device.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">aUdn</td><td>UDN to set. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae42f2a0fa13ff0c7997d70f2630606b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) setUserData: </td>
          <td></td>
          <td class="paramtype">(void *)&#160;</td>
          <td class="paramname"><em>aUserData</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set a user data.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">aUserData</td><td>A user data to set.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>The <a class="el" href="interface_c_g_upnp_service.html">CGUpnpService</a> if the specified service is found; otherwise nil. </dd></dl>

</div>
</div>
<a class="anchor" id="a150cb5a442d785934313013f0728e3b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_g_upnp_icon.html">CGUpnpIcon</a> *) smallestIcon </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a most smallest icon.</p>
<dl class="section return"><dt>Returns:</dt><dd>Smallest Icon. </dd></dl>

</div>
</div>
<a class="anchor" id="a12a4dc65083fe126e790d2a95a80e51f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_g_upnp_icon.html">CGUpnpIcon</a> *) smallestIconWithMimeType: </td>
          <td></td>
          <td class="paramtype">(NSString *)&#160;</td>
          <td class="paramname"><em>mimeType</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a most smallest icon with a specified mime type.</p>
<dl class="section return"><dt>Returns:</dt><dd>Smallest Icon. </dd></dl>

</div>
</div>
<a class="anchor" id="a02a6aa8bc0369d945b75d1c41cc1df94"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) start </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Start the device.</p>
<dl class="section return"><dt>Returns:</dt><dd>YES if the device is started normally, otherwise NO. </dd></dl>

</div>
</div>
<a class="anchor" id="a55b4f61f61c7cffe432c4e7ec126bf04"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (BOOL) stop </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Stop the device.</p>
<dl class="section return"><dt>Returns:</dt><dd>YES if the device is started normally, otherwise NO. </dd></dl>

</div>
</div>
<a class="anchor" id="ad55f10ba9d5f371835148797fcebfd36"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) udn </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the UDN of the device.</p>
<dl class="section return"><dt>Returns:</dt><dd>UDN of the specified device. </dd></dl>

</div>
</div>
<a class="anchor" id="a080173980569b451fafa717eec9fe820"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString *) urlBase </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a urlBase</p>
<dl class="section return"><dt>Returns:</dt><dd>URLBase of the device. </dd></dl>

</div>
</div>
<a class="anchor" id="a420fd4621ae036b53494d35339261285"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void *) userData </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get a stored user data.</p>
<dl class="section return"><dt>Returns:</dt><dd>A stored user data. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_c_g_upnp_device_8h_source.html">CGUpnpDevice.h</a></li>
<li>CGUpnpDevice.m</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Jun 29 2012 07:45:45 for CyberLinkObjc by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
